home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 19.zip / BS1 part 19 / Lattice C disk 4.adf / Compiler_Headers / float.h < prev    next >
Text File  |  1988-11-07  |  938b  |  26 lines

  1. /**
  2. *
  3. * The following symbols are specified in the ANSI C standard for the
  4. * floating point number system.
  5. *
  6. **/
  7. #define FLT_RADIX 2        /* radix of exponent             */
  8. #define FLT_ROUNDS 0        /* rounding mode during translation    */
  9.                 /*   0 => chop                */
  10.                 /*   1 => round                */
  11.                 /*   2 => indeterminate            */
  12. #define FLT_GUARD 0        /* guard digits during multiplication     */
  13.                 /*   0 => No                */
  14.                 /*   1 => Yes                */
  15. #define FLT_NORMALIZE 1        /* normalization required        */
  16.                 /*   0 => No                */
  17.                 /*   1 => Yes                */
  18. #define DBL_MAX_EXP 308        /* max decimal exponent for double    */
  19. #define FLT_MAX_EXP 37         /* max decimal exponent for float     */
  20. #define DBL_MIN_EXP -307    /* min decimal exponent for double    */
  21. #define FLT_MIN_EXP -38        /* min decimal exponent for float    */
  22. #define DBL_DIG 16        /* max decimal digits for double    */
  23. #define FLT_DIG 7        /* max decimal digits for float        */
  24.  
  25. #define HUGE_VAL 1.797693E+308    /* huge double value            */
  26.